package cn.itsource.service.impl;

import cn.itsource.domain.Store;
import cn.itsource.mapper.StoreMapper;
import cn.itsource.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StoreServiceImpl implements StoreService {
    @Autowired
    private StoreMapper storeMapper;
    @Override
    public List<Store> loadAll() {
        return storeMapper.loadAll();
    }

    @Override
    public void save(Store store) {
        storeMapper.save(store);
    }
}
